<h2>
    Dashboard
    <small>Control panel</small>
</h2>
<ol class="breadcrumb">
    <li><?php echo $this->Html->link("<i class='fa fa-dashboard'></i> Home", array('controller' => 'homes', 'action' => 'index'), array('escape' => FALSE)); ?></li>
    <li></li>
</ol>
<!-- Small boxes (Stat box) -->
<div class="row">
    <div class="col-lg-3 col-xs-6">
        <!-- small box -->
        <div class="small-box bg-maroon">
            <div class="inner">
                <h3>
                    <?=$cOuvertes?>
                </h3>
                <p>
                    Commandes ouvertes
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-folder"></i>
            </div>
            <?php echo $this->Html->link("Liste des commandes <i class='fa fa-arrow-circle-right'></i>", array('controller' => 'commandes', 'action' => 'ouvertes'), array('class' => 'small-box-footer', 'escape' => FALSE)); ?>
        </div>
    </div><!-- ./col -->
    <div class="col-lg-3 col-xs-6">
        <!-- small box -->
        <div class="small-box bg-green">
            <div class="inner">
                <h3>
                    <?=$cEnCours?>
                </h3>
                <p>
                    Commandes en cours
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-paper-airplane"></i>
            </div>
            <?php echo $this->Html->link("Liste des commandes <i class='fa fa-arrow-circle-right'></i>", array('controller' => 'commandes', 'action' => 'encours'), array('class' => 'small-box-footer', 'escape' => FALSE)); ?>
        </div>
    </div><!-- ./col -->
    <div class="col-lg-3 col-xs-6">
        <!-- small box -->
        <div class="small-box bg-yellow">
            <div class="inner">
                <h3>
                    <?=$cTermine?>
                </h3>
                <p>
                    Commandes terminées
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-locked"></i>
            </div>
            <?php echo $this->Html->link("Liste des commandes <i class='fa fa-arrow-circle-right'></i>", array('controller' => 'commandes', 'action' => 'termines'), array('class' => 'small-box-footer', 'escape' => FALSE)); ?>
        </div>
    </div><!-- ./col -->
    <div class="col-lg-3 col-xs-6">
        <!-- small box -->
        <div class="small-box bg-blue">
            <div class="inner">
                <h3>
                    <?=$stockNbr?>
                </h3>
                <p>
                    Stocks
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-briefcase"></i>
            </div>
            <?php echo $this->Html->link("Liste du stock <i class='fa fa-arrow-circle-right'></i>", array('controller' => 'stocks', 'action' => 'index'), array('class' => 'small-box-footer', 'escape' => FALSE)); ?>
        </div>
    </div>
    <div class="col-lg-3 col-xs-6">
        <div class="small-box bg-red">
            <div class="inner">
                <h3>
                    <?= $productNbr?>
                </h3>
                <p>
                    Produits
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-leaf"></i>
            </div>
            <?php echo $this->Html->link("Liste des produits <i class='fa fa-arrow-circle-right'></i>", array('controller' => 'products', 'action' => 'index'), array('class' => 'small-box-footer', 'escape' => FALSE)); ?>
        </div>
    </div>
    <div class="col-lg-3 col-xs-6">
        <div class="small-box bg-maroon">
            <div class="inner">
                <h3>
                    5
                </h3>
                <p>
                    Charts
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-stats-bars"></i>
            </div>
            <?php echo $this->Html->link("Liste des graphiques <i class='fa fa-arrow-circle-right'></i>", array('controller' => 'charts', 'action' => 'index'), array('class' => 'small-box-footer', 'escape' => FALSE)); ?>
        </div>
    </div>
</div><!-- /.row -->


